package runnable.germmy;

import java.util.concurrent.ExecutorService;
import java.util.concurrent.Executors;

public class ThreadPoolTest {

	
	
	
	public static void main(String[] args) {
		final SynchronizedTest synchronizedTest = new SynchronizedTest();
		ExecutorService es=	Executors.newFixedThreadPool(5);
		es.execute(new MyThread(synchronizedTest));
		es.execute(new MyThread(synchronizedTest));
		es.execute(new MyThread(synchronizedTest));
		es.execute(new MyThread(synchronizedTest));
		es.execute(new MyThread(synchronizedTest));
		es.execute(new MyThread(synchronizedTest));
	}

}
